
#ifndef TTS_PREDICTOR_H
#define TTS_PREDICTOR_H

#include <iomanip>
#include <chrono>  // NOLINT(build/c++11)
#include <cmath>
#include <iostream>
#include <vector>

#include <fstream>
#include <vector>

#include "front/front_interface.h"

using namespace std;

class FrontAliVc {

private:
	ppspeech::FrontEngineInterface* mFrontInst = nullptr;
	vector<string> WriteBaseDictDb(const bool fcbInDeleteTable, const string fcInDictRootpath, const string fcOutDictRootpath);

public:
	bool FrontInit(const string fcInDictRootpath, const string fcOutDictRootpath, const string fInModelPhonemeFilepath, const bool fInUpdateDictFlag);
	bool FrontProcess(const string& fcpInInputText, const string& fcpInputLanguage, vector< vector< vector<string> > >& fpOutSentenceAliVc);
	void FrontDestroy();
};

#endif
